//
//  ZHAnimationVC.m
//  test02
//
//  Created by lzh on 2020/10/15.
//  Copyright © 2020 NO. All rights reserved.
//

#import "ZHAnimationVC.h"
#import <Masonry/Masonry.h>
#import "ZHAlterView.h"
@interface ZHAnimationVC ()

@end

@implementation ZHAnimationVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    CGVector vector = CGVectorMake(0,100);
    NSLog(@"%@",NSStringFromCGVector(vector));
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    
    [[ZHAlterView zh_alterView:^(ZHAlterView * alter) {
        alter.leftTitle = @"确定";
        alter.content = @"您确认退出吗？";
        alter.rightTitle = @"cancell";
        alter.zh_animation = YES;
        alter.shureComplete = ^{
            //确定 todo
        };
        alter.cancelComplete = ^{
            //取消 todo
        };
    }]show];
}



@end
